package com.hjy.entity;

public class Patient {
    private Integer id;
    private String name;
    private String birthday;
    private int sex;
    private String address;
    private String phone;
    private String id_card;
    private String is_medicare;
    private String id_medicare;
    private String created_time;
    private String updated_time;
    private Integer page = 1;
    private Integer limit = 5;

    @Override
    public String toString() {
        return "Patient{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", birthday='" + birthday + '\'' +
                ", sex=" + sex +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", id_card='" + id_card + '\'' +
                ", is_medicare='" + is_medicare + '\'' +
                ", id_medicare='" + id_medicare + '\'' +
                ", created_time='" + created_time + '\'' +
                ", updated_time='" + updated_time + '\'' +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }

    public Patient() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public String getIs_medicare() {
        return is_medicare;
    }

    public void setIs_medicare(String is_medicare) {
        this.is_medicare = is_medicare;
    }

    public String getId_medicare() {
        return id_medicare;
    }

    public void setId_medicare(String id_medicare) {
        this.id_medicare = id_medicare;
    }

    public String getCreated_time() {
        return created_time;
    }

    public void setCreated_time(String created_time) {
        this.created_time = created_time;
    }

    public String getUpdated_time() {
        return updated_time;
    }

    public void setUpdated_time(String updated_time) {
        this.updated_time = updated_time;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Patient(Integer id, String name, String birthday, int sex, String address, String phone, String id_card, String is_medicare, String id_medicare, String created_time, String updated_time, Integer page, Integer limit) {
        this.id = id;
        this.name = name;
        this.birthday = birthday;
        this.sex = sex;
        this.address = address;
        this.phone = phone;
        this.id_card = id_card;
        this.is_medicare = is_medicare;
        this.id_medicare = id_medicare;
        this.created_time = created_time;
        this.updated_time = updated_time;
        this.page = page;
        this.limit = limit;
    }
}